﻿package net.wangit.dev.wizard;

import java.util.List;

import net.wangit.dev.wizard.element.AClearButton;
import net.wangit.dev.wizard.element.AQueryButton;
import net.wangit.dev.wizard.unit.AQueryUnit;


public class OneTableSuiteProcessor6 extends OneTableSuiteProcessor {

	public OneTableSuiteProcessor6() {
	}

	protected void createUnits() throws Exception {
		AQueryUnit.create(db, groupId, queryUnitId, queryUnitName, 1, null);
		List<String> elements = Table2Unit.create(db, queryUnitId, tableName,
				3, null);
		AQueryButton.create(db, ac, queryUnitId, null, elements);
		AClearButton.create(db, ac, queryUnitId, null, elements);
	}

	protected String[][] getUnits() {
		return (new String[][] { new String[] { queryUnitId, "queryunitid" } });
	}
}
